package com.mingqijia.gassafety.statistics.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.util.StringUtils;

import java.util.Date;


/**
 * @author guoliang.lao
 * @version 1.0.0
 * @ClassName AlertLogResponse.java
 * @Description 报警记录返回
 * @createTime 2022年03月08日
 */
@Data
public class IndustryAlertLogResp {

    @ApiModelProperty("设备ID")
    private String equipmentId = "";

    @ApiModelProperty("设备号")
    private String imei = "";

    @ApiModelProperty("设备名称")
    private String equipmentName = "";

    @ApiModelProperty("设备类型")
    private String equipmentType = "";

    @ApiModelProperty("设备类型名称")
    private String equipmentTypeName = "";

    @ApiModelProperty("设备位置")
    private String installationPosition = "";

    @ApiModelProperty("安装地址")
    private String installationAddress;

    @ApiModelProperty("气体浓度")
    private String xlel = "";

    @ApiModelProperty("最近一次上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date latestTime;

    @ApiModelProperty("客户id")
    private Integer consumerId;

    @ApiModelProperty("户名")
    private String custName;

    @ApiModelProperty("户号")
    private String subsCode;

    @ApiModelProperty("户址")
    private String custAddress;

    @ApiModelProperty("户主手机号")
    private String custPhone;

    @ApiModelProperty("行业类型")
    private String industryType;

    @ApiModelProperty("行业类型名")
    private String industryTypeName;

    @ApiModelProperty("设备厂商")
    private String equipmentManufacturer;

    @ApiModelProperty("设备型号")
    private String equipmentModel;

    @ApiModelProperty(value = "工单回传的报警原因")
    private String orderReason;

    @ApiModelProperty(value = "报警持续时长")
    private String warnDuration;

    @ApiModelProperty(value = "电磁阀名称")
    private String valveName;
    @ApiModelProperty(value = "电磁阀型号")
    private String valveModel;
    @ApiModelProperty(value = "电磁阀材质")
    private String valveMaterial;
    @ApiModelProperty(value = "电磁阀厂家")
    private String valveManufacturer;

    @ApiModelProperty(value = "客户名称")
    private String name;

    @ApiModelProperty(value = "报警原因")
    private String valveBrokenInfo;

    @ApiModelProperty(value = "电磁阀id")
    private Integer valveInfoId;

    @ApiModelProperty(value = "处理状态code")
    private Integer appealStatus;

    @ApiModelProperty(value = "处理状态msg")
    private String appealStatusMsg;
}
